package com.imti.bean;

import lombok.Data;

import java.io.Serializable;
import java.sql.Date;

@Data
public class Registration implements Serializable {
    //患者ID
    private Integer patient_id;
    //挂号单ID
    private Integer regist_id;
    //医院ID
    private Integer hosp_id;
    //初复诊状态
    private Integer isPast;
    //账号ID
    private Integer acc_id;
    //挂号单状态
    private String state;
    //姓名
    private String pat_name;
    //身份证号
    private String card_code;
    //性别
    private String pat_sex;
    //出生日期
    private Date pat_birthday;
    //手机号
    private String phone;
    //紧急联系人
    private String concat;
    //联系电话
    private String tel;
    //患者关系
    private String relation;

    public Registration() {
    }

    public Registration(Integer patient_id, Integer regist_id, Integer hosp_id, Integer isPast, Integer acc_id, String state, String pat_name, String card_code, String pat_sex, Date pat_birthday, String phone, String concat, String tel, String relation) {
        this.patient_id = patient_id;
        this.regist_id = regist_id;
        this.hosp_id = hosp_id;
        this.isPast = isPast;
        this.acc_id = acc_id;
        this.state = state;
        this.pat_name = pat_name;
        this.card_code = card_code;
        this.pat_sex = pat_sex;
        this.pat_birthday = pat_birthday;
        this.phone = phone;
        this.concat = concat;
        this.tel = tel;
        this.relation = relation;
    }


    @Override
    public String toString() {
        return "Registration{" +
                "patient_id=" + patient_id +
                ", regist_id='" + regist_id + '\'' +
                ", hosp_id=" + hosp_id +
                ", isPast=" + isPast +
                ", acc_id=" + acc_id +
                ", state='" + state + '\'' +
                ", pat_name='" + pat_name + '\'' +
                ", card_code='" + card_code + '\'' +
                ", pat_sex='" + pat_sex + '\'' +
                ", pat_birthday=" + pat_birthday +
                ", phone='" + phone + '\'' +
                ", concat='" + concat + '\'' +
                ", tel='" + tel + '\'' +
                ", relation='" + relation + '\'' +
                '}';
    }

    public Integer getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(Integer patient_id) {
        this.patient_id = patient_id;
    }

    public Integer getRegist_id() {
        return regist_id;
    }

    public void setRegist_id(Integer regist_id) {
        this.regist_id = regist_id;
    }

    public Integer getHosp_id() {
        return hosp_id;
    }

    public void setHosp_id(Integer hosp_id) {
        this.hosp_id = hosp_id;
    }

    public Integer getIsPast() {
        return isPast;
    }

    public void setIsPast(Integer isPast) {
        this.isPast = isPast;
    }

    public Integer getAcc_id() {
        return acc_id;
    }

    public void setAcc_id(Integer acc_id) {
        this.acc_id = acc_id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPat_name() {
        return pat_name;
    }

    public void setPat_name(String pat_name) {
        this.pat_name = pat_name;
    }

    public String getCard_code() {
        return card_code;
    }

    public void setCard_code(String card_code) {
        this.card_code = card_code;
    }

    public String getPat_sex() {
        return pat_sex;
    }

    public void setPat_sex(String pat_sex) {
        this.pat_sex = pat_sex;
    }

    public Date getPat_birthday() {
        return pat_birthday;
    }

    public void setPat_birthday(Date pat_birthday) {
        this.pat_birthday = pat_birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getConcat() {
        return concat;
    }

    public void setConcat(String concat) {
        this.concat = concat;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }
}